﻿<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="false" CodeFile="Index.aspx.cs" Inherits="Index" %>
<%@ Register Src="UserControls/Header.ascx" TagName="Header"  TagPrefix="uc"%>
<%@ Register Src="UserControls/Sidebar.ascx" TagName="Sidebar"  TagPrefix="uc"%>
<%@ Register Src="UserControls/Footer.ascx" TagName="Footer"  TagPrefix="uc"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="Generator" content="EditPlus" />
	<meta name="Author" content="FanFuBlog" />
	<meta name="Keywords" content="前端,前端开发,web前端,web前端开发,前端工程师,前端个人博客,前端开发工具,jquery插件,浏览器兼容,子曾经曰过" />
	<meta name="Description" content="WEB前端开发，专注前端开发，关注用户体验，记录前端开发, 分享生活, 关注全球最新最好的前端开发技术和前端开发资讯的专业博客" />
    <title>WEB前端开发&ndash;专注前端开发，关注用户体验</title>
	<link href="css/base.css" rel="stylesheet" type="text/css" />
    <link href="css/shCoreDefault.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div class="wraper">
	<uc:Header ID="Header1" runat="server" />
	<div id="container" class="clearfix">
		<div class="main">
			<ul id="article_list">
                <asp:Repeater ID="rptDataList" runat="server">
                    <ItemTemplate>
				    <li>
					    <h2 class="title"><a title="<%# Eval("Caption")%>" href="Article.aspx?current=0&id=<%# Eval("ID") %>"><%# fanfu.Common.StringPlus.StringDot(Eval("Caption").ToString(),100)%></a></h2>
					    <div class="writer"><%# Eval("Creator")%>&nbsp;|&nbsp;<%# Eval("CreateTime")%>&nbsp;|&nbsp;<%# new fanfu.Business.ArticleRule().GetArticleTag(Eval("ArticleTag"))%><%# new fanfu.Business.ArticleRule().GetArticleType(Eval("ArticleType"), Eval("SourceUrl").ToString())%></div>
					    <div class="content">
						    <%# fanfu.Common.StringPlus.CutPage(Eval("ArticleContent").ToString())%>
					    </div>
					    <div class="moremsg clearfix">
						    <a class="more" title="" href="Article.aspx?current=0&id=<%# Eval("ID") %>">阅读全文&gt;&gt;</a>
						    <span>点评[<a title="" href="Article.aspx?current=0&id=<%# Eval("ID") %>#review_list"><%# Eval("CommentCount")%></a>]</span>
						    <span>查看[<%# Eval("BrowserCount")%>]</span>
					    </div>
				    </li>
				    </ItemTemplate>
                 </asp:Repeater>
			</ul>
			<div id="paging" runat="server"></div>
		</div>
		<uc:Sidebar ID="Sidebar1" runat="server" />
	</div>
</div>
<uc:Footer ID="Footer1" runat="server" />
<script type="text/javascript" src="js/shCore.js"></script>
<script type="text/javascript" src="js/shAutoloader.js"></script>
<script type="text/javascript">
    SyntaxHighlighter.autoloader(
	    'css js/shBrushCss.js',
	    'js js/shBrushJScript.js',
	    'as js/shBrushAS3.js',
	    'c# js/shBrushCSharp.js',
	    'sql js/shBrushSql.js',
	    'xml js/shBrushXml.js'
    );
    SyntaxHighlighter.all();
</script>
</form>
</body>
</html>
